﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Benefit.Models.Year;
namespace Benefit.Interface.Year
{
    /// <summary>
    /// 小组周累计基本数据
    /// </summary>
    public interface IGroupYearSum
    {
   
        /// <summary>
        /// 删除当年所有记录
        /// </summary>
        /// <param name="weekId"></param>
        void Delete(int year);

        /// <summary>
        /// 保存年小组累计值
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitGroupYearSum(int year);

        GroupYearSum GetGroupYearSum(int groupid, int year);

        List<GroupYearSum> GetGroupYearSum(int year);
    }
}